<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

require_once '../model/usuarioModel.php';
require_once '../dao/usuarioDAO.php';
require_once '../interface/interfaceController.php';

/**
 * Description of usuarioController
 *
 * @author Santos
 */
class usuarioController implements interfaceController {

    public function setDados($model) {
        $dao = new usuarioDAO();
        return $dao->setDados($model);
    }

    public function getModel() {
        return new usuarioModel();
    }

    public function deleteDados($model) {
        $dao = new usuarioDAO();
        return $dao->deleteDados($model);
    }

    public function getDados($model) {
        $dao = new usuarioDAO();
        return $dao->getDados($model);
    }

}
